package com.wsm.common.service;

import com.wsm.common.domain.BlackipDO;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 访问黑名单
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-17 17:03:32
 * @description : 访问黑名单
 */
public interface BlackipService extends IService<BlackipDO> {
	
	List<BlackipDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int orSave(BlackipDO blackip);
	
	int update(BlackipDO blackip);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int removeOrDel(Long id);

	int batchRemoveOrDel(Long[] ids);

	int updateUseFlag(Long id, Integer useFlag);
}
